<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>网站管理员登陆</title>
        <style type="text/css">
            <!--
            body {
                margin-left: 0px;
                margin-top: 0px;
                margin-right: 0px;
                margin-bottom: 0px;
                background-color: #1D3647;
            }
            form{margin:0px; padding: 0px;}
            -->
        </style>
        <link href="images/skin.css" rel="stylesheet" type="text/css">
    </head>
    <body>
        <div class="login_top_bg" style="height:42px">&nbsp;</div>
        <div class="login_bg" style="padding:100px 0 100px 200px;">
            <form name="myform" action="{=$base=}/?c=login&a=dologin" method="post">
                <table cellSpacing="0" cellPadding="0" width="400" border="0" height="143" id="table212">
                    <tr>
                        <td width="100" height="38" class="top_hui_text"><span class="login_txt">管理员：&nbsp;&nbsp; </span></td>
                        <td height="38" colspan="2" class="top_hui_text"><input name="username" class="editbox4" value="" size="20"></td>
                    </tr>
                    <tr>
                        <td height="35" class="top_hui_text"><span class="login_txt"> 密 码： &nbsp;&nbsp; </span></td>
                        <td height="35" colspan="2" class="top_hui_text">
                            <input class="editbox4" type="password" size="20" name="password" />
                            <img src="images/luck.gif" width="19" height="18" />
                        </td>
                    </tr>
                    <tr>
                        <td height="35" ><span class="login_txt">验证码：</span></td>
                        <td height="35" colspan="2" class="top_hui_text">
                            <input class=wenbenkuang name=vcode type=text value="" maxLength=4 size=10 id="v_code" />
                            <img id="code_img" src="" onclick="javascript:refreshImg()" align="absmiddle" />
                            <script type="text/javascript">
                                var base = '{=$root=}/validate.php?';
                                function getRandomNum() {
                                    return new Date().getTime() + Math.random() * 1000000000 + "" + Math.random() * 1000000000;
                                }
                                function refreshImg() {
                                    var imgEl = document.getElementById('code_img');
                                    imgEl.src = base + getRandomNum();
                                }
                                refreshImg();
                            </script>
                        </td>
                    </tr>
                    <tr>
                        <td height="35" >&nbsp;</td>
                        <td height="35" ><input name="Submit" type="submit" class="button" id="Submit" value="登 陆"> </td>
                    </tr>
                </table>
                <br>
            </form>
        </div>


    </body>
</html>